include_directories(".")
file(GLOB_RECURSE TEST_SOURCES *.cpp)

add_executable(Test ${TEST_SOURCES})

#Add kernel
include_directories("../kernel")
include_directories("../kernel/Motion_Scheduler")
target_link_libraries(Test kernel)

#Add interfaces
if(LOCAL_SIMULATION)
    add_definitions(-DLOCAL_SIMULATION)
endif(LOCAL_SIMULATION)

target_link_libraries(Test interfaces)
include_directories("../interfaces")
include_directories("../interfaces/Simulation/coppeliaSim-client")
include_directories("../interfaces/Simulation/coppeliaSim-client/include")
include_directories("../interfaces/Simulation/coppeliaSim-client/include/stack")
include_directories("../interfaces/Simulation/coppeliaSim-client/remoteApi")

#Add common
target_link_libraries(Test common)
include_directories("../common")



